package com.mdl.api.service.impl;

import com.mdl.api.entity.User;
import com.mdl.api.mapper.UserMapper;
import com.mdl.api.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Desc
 * @Author madengling
 * @Time 2020/9/17 17:03
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User getUser(int id){
        return userMapper.getUser(id);
    }

}
